import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 高生平
 * Date: 2025-09-06
 * Time: 19:36
 */
public class Test {
    public static int max2 (int a, int b) {
        return a > b ? a : b;
    }
    public static int max3 (int a, int b, int c) {
        return max2(a, b) > c ? max2(a, b) : c;
     }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num1 = sc.nextInt();
        int num2 = sc.nextInt();
        int num3 = sc.nextInt();
        System.out.println(max3(num1, num2, num3));
    }
}
